package com.hsy.crm.web.mapper;

import com.hsy.crm.web.config.CrmMapper;
import com.hsy.crm.web.domain.entity.Order;
import com.hsy.crm.web.domain.entity.ReceiptOrder;
import com.hsy.crm.web.domain.entity.ReceiptOrderOrder;
import com.hsy.crm.web.domain.po.receiptOrder.*;
import com.hsy.crm.web.domain.vo.receiptOrder.ReceiptOrderOrderPageVo;
import com.hsy.crm.web.domain.vo.receiptOrder.ReceiptOrderPageVo;

import java.util.List;

public interface ReceiptOrderMapper extends CrmMapper<ReceiptOrder> {

    List<ReceiptOrderPagePo> page(ReceiptOrderPageVo receiptOrderPageVo);

    List<ReceiptOrderOrderPagePo> orderPage(ReceiptOrderOrderPageVo vo );

    int updateOrderVerificate(Order order);

    ReceiptOrderGetPo getOrder(ReceiptOrder receiptOrder);

    List<ReceiptOrderAcctPo> getOrderAccounts(ReceiptOrder receiptOrder);

    List<ReceiptOrderOrderPo> getOrderOrders(ReceiptOrder receiptOrder);

    Long selectOrder(ReceiptOrderOrder order);

    Long checkOrder(ReceiptOrder order);

}
